package io.webfolder.cdp.type.runtime;

import com.vimeo.stag.UseStag;

/**
 * Stack entry for runtime errors and assertions
 */
@UseStag
public class CallFrame {
	private String functionName;

	private String scriptId;

	private String url;

	private Integer lineNumber;

	private Integer columnNumber;

	/**
	 * JavaScript function name.
	 */
	public String getFunctionName() {
		return functionName;
	}

	/**
	 * JavaScript function name.
	 */
	public void setFunctionName(String functionName) {
		this.functionName = functionName;
	}

	/**
	 * JavaScript script id.
	 */
	public String getScriptId() {
		return scriptId;
	}

	/**
	 * JavaScript script id.
	 */
	public void setScriptId(String scriptId) {
		this.scriptId = scriptId;
	}

	/**
	 * JavaScript script name or url.
	 */
	public String getUrl() {
		return url;
	}

	/**
	 * JavaScript script name or url.
	 */
	public void setUrl(String url) {
		this.url = url;
	}

	/**
	 * JavaScript script line number (0-based).
	 */
	public Integer getLineNumber() {
		return lineNumber;
	}

	/**
	 * JavaScript script line number (0-based).
	 */
	public void setLineNumber(Integer lineNumber) {
		this.lineNumber = lineNumber;
	}

	/**
	 * JavaScript script column number (0-based).
	 */
	public Integer getColumnNumber() {
		return columnNumber;
	}

	/**
	 * JavaScript script column number (0-based).
	 */
	public void setColumnNumber(Integer columnNumber) {
		this.columnNumber = columnNumber;
	}
}
